﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class howManyNumbersP
{
    static void Main(string[] args)
    {
        Console.Write("Enter a = ");
        int a = Convert.ToInt32(Console.ReadLine());
        Console.Write("Enter b > {0} = ", a);
        int b = Convert.ToInt32(Console.ReadLine());
        int divid = 0;
        for (int i = a; i <= b; i++) 
        {
            if ((i % 5) == 0) 
            {
                divid++;
            }
        }
        Console.WriteLine("p({0},{1}) = {2}", a, b, divid);
    }
}
